module.exports = {
    // 代理设置
    devServer: {
        port: 3000,
        host: '0.0.0.0',
        // 代理
        proxy: {
            '/qin': {
                target: 'http://www.qinqin.net',
                changeOrigin: true,
                pathRewrite: {
                    '^/qin': ''
                }
            },
            '/api':{
                target: 'http://cmsjapi.ffquan.cn',
                changeOrigin: true,
                pathRewrite: {
                }
                
            }


        }
    },
    css: {
        loaderOptions: {
            css: {},
            postcss: {
                plugins: [
                    require('postcss-px2rem')({
                        remUnit: 37.5
                    })
                ]
            }

        }
    }


}
